import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import BaiduMap from 'vue-baidu-map'
import './mock/index.js'
import axios from 'axios'
Vue.prototype.axios = axios 

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

import moment from "vue-moment"
Vue.use(moment);

import Avue from '@smallwei/avue';
import '@smallwei/avue/lib/index.css';
Vue.use(Avue);

import Antd from 'ant-design-vue'
import 'ant-design-vue/dist/antd.css'
Vue.config.productionTip = false;
Vue.use(Antd)

import * as echarts from 'echarts' //引入echarts
Vue.prototype.$echarts = echarts 

// 缩放还原
import dataV from '@jiaminghi/data-view'
Vue.use(dataV)


Vue.config.productionTip = false
Vue.use(BaiduMap, {
  ak: '0tEsrmFKQIfoGFczUaxG8EIM1aFbDkNs'
})

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
